package com.ajie.entity;

import cn.hutool.core.annotation.Alias;
import io.swagger.v3.oas.annotations.tags.Tag;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 食物信息;
 * @author: ajie
 * @date : 2024-7-27
 */
@Data
@Tag(name = "食物信息")
@TableName("food")
@EqualsAndHashCode(callSuper = false)
public class Food extends BaseEntity {

    @Alias("食物名称")
    @Schema(title = "食物名称", description = "")
    private String title;

    @Alias("食物类别")
    @Schema(title = "食物类别", description = "")
    private String typeId;

    @Alias("食物图片")
    @Schema(title = "图片", description = "")
    private String imageUrls;

    @Alias("营养元素")
    @Schema(title = "营养元素", description = "")
    private String nutrient;

    @Alias("热量")
    @Schema(title = "热量", description = "")
    private Double heat;

    @Alias("蛋白质")
    @Schema(title = "蛋白质", description = "")
    private Double protein;

    @Alias("脂肪")
    @Schema(title = "脂肪", description = "")
    private Double fat;

    @Alias("碳水化合物")
    @Schema(title = "碳水化合物", description = "")
    private Double carbonWater;

    @Alias("膳食纤维")
    @Schema(title = "膳食纤维", description = "")
    private Double dietaryFiber;

    @Alias("维生素A")
    @Schema(title = "维生素A", description = "")
    private Double vitaminA;

    @Alias("维生素C")
    @Schema(title = "维生素C", description = "")
    private Double vitaminC;

    @Alias("维生素E")
    @Schema(title = "维生素E", description = "")
    private Double vitaminE;

    @Alias("胡萝卜素")
    @Schema(title = "胡萝卜素", description = "")
    private Double carrot;

    @Alias("维生素B1")
    @Schema(title = "维生素B1", description = "")
    private Double vitaminB1;

    @Alias("维生素B2")
    @Schema(title = "维生素B2", description = "")
    private Double vitaminB2;

    @Alias("烟酸")
    @Schema(title = "烟酸", description = "")
    private Double niacin;

    @Alias("胆固醇")
    @Schema(title = "胆固醇", description = "")
    private Double cholesterol;

    @Alias("镁")
    @Schema(title = "镁", description = "")
    private Double magnesium;

    @Alias("铁")
    @Schema(title = "铁", description = "")
    private Double iron;

    @Alias("钙")
    @Schema(title = "钙", description = "")
    private Double calcium;

    @Alias("锌")
    @Schema(title = "锌", description = "")
    private Double zinc;

    @Alias("铜")
    @Schema(title = "铜", description = "")
    private Double copper;

    @Alias("锰")
    @Schema(title = "锰", description = "")
    private Double manganese;

    @Alias("钾")
    @Schema(title = "钾", description = "")
    private Double potassium;

    @Alias("磷")
    @Schema(title = "磷", description = "")
    private Double phosphorus;

    @Alias("钠")
    @Schema(title = "钠", description = "")
    private Double sodium;

    @Alias("硒")
    @Schema(title = "硒", description = "")
    private Double selenium;

}